package DatingApp;

import net.rim.device.api.ui.Manager;
import net.rim.device.api.ui.component.ButtonField;
import net.rim.device.api.ui.container.HorizontalFieldManager;
import net.rim.device.api.ui.decor.BackgroundFactory;

public class ButtonFrames {
	private ButtonField search, search2, 
		settings, profile, profile2,
		notifications, notifications2, 
		messages;
	
	private HorizontalFieldManager top, bottom;
		
	public ButtonFrames(){
		top = new HorizontalFieldManager(HorizontalFieldManager.FIELD_HCENTER /*| HorizontalFieldManager.USE_ALL_WIDTH*/);
		bottom = new HorizontalFieldManager(Manager.HORIZONTAL_SCROLL);
		
		search = new ButtonField("Search");
		search2 = new ButtonField("Search");
		settings = new ButtonField("Settings");
		profile = new ButtonField("Profile");
		profile2 = new ButtonField("Profile");
		notifications = new ButtonField("Notifications");
		notifications2 = new ButtonField("Notifications");
		messages = new ButtonField("Messages");

		top.add(search2);
		top.add(profile2);
		top.add(notifications2);
		//top.setBackground(BackgroundFactory.createSolidBackground(0x00000000));
		
		bottom.add(search);
		bottom.add(settings);
		bottom.add(profile);
		bottom.add(notifications);
		bottom.add(messages);
		bottom.setBackground(BackgroundFactory.createSolidBackground(0x00000000));
	}
	

	/**
	 * @return the search
	 */
	public ButtonField getSearch() {
		return search;
	}


	/**
	 * @return the search2
	 */
	public ButtonField getSearch2() {
		return search2;
	}


	/**
	 * @return the settings
	 */
	public ButtonField getSettings() {
		return settings;
	}


	/**
	 * @return the profile
	 */
	public ButtonField getProfile() {
		return profile;
	}


	/**
	 * @return the profile2
	 */
	public ButtonField getProfile2() {
		return profile2;
	}


	/**
	 * @return the notifications
	 */
	public ButtonField getNotifications() {
		return notifications;
	}


	/**
	 * @return the notifications2
	 */
	public ButtonField getNotifications2() {
		return notifications2;
	}


	/**
	 * @return the messages
	 */
	public ButtonField getMessages() {
		return messages;
	}


	/**
	 * @return the top
	 */
	public HorizontalFieldManager getTop() {
		return top;
	}


	/**
	 * @return the bottom
	 */
	public HorizontalFieldManager getBottom() {
		return bottom;
	}


	public Manager getTopFrame(){
		return this.top;
	}
	
	public Manager getBottomFrame(){
		return this.bottom;
	}
	
	
}
